package com.zzyl.dto;

import com.zzyl.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("项目等级实体类")
public class NursingLevelDto extends BaseDto {

    @ApiModelProperty(value = "等级名称", required = true, example = "一级护理")
    private String name;

    @ApiModelProperty(value = "护理计划ID", required = true, example = "100")
    private Integer planId;

    @ApiModelProperty(value = "护理费用", required = true, example = "100.00")
    private BigDecimal fee;

    @ApiModelProperty(value = "状态（0：禁用，1：启用）", required = true, example = "1")
    private Integer status;

    @ApiModelProperty(value = "等级说明", example = "这是等级说明")
    private String description;

    @ApiModelProperty(value = "创建时间", example = "2023-10-01T12:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人id")
    private Long createBy;

    @ApiModelProperty(value = "更新人id")
    private Long updateBy;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "更新时间", example = "2023-10-01T12:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
